package com.un.ebs.sale.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.un.ebs.core.enums.IEnum;
import lombok.Getter;

/**
 * @author liubo
 * @email liubocs@163.com
 * @date 2020/5/28 11:54
 * <p>
 * 销售订单类型
 */
@Getter
public enum SaleOrderTypeEnum implements IEnum {
    /**
     * 产品销售
     */
    SALE(0, "销售业务"),

    /**
     * 产品维修
     */
    REPAIR(1, "维修业务"),

    PROJECT(2, "科研项目"),

    SERVICE(3, "保修业务"),

    OEM(4, "代工业务");


    @EnumValue
    private final int code;
    private final String desc;

    SaleOrderTypeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
